﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VueAndNetCoreEfApi.PoModel.SystemAdmin
{
    [Table("ownerinfo")]
   public class OwnerPo
    {
        [Key]
        public int ow_id { get; set; }//Id

        public string ow_name { get; set; }//货主名称

        public string ow_tel { get; set; }//货主手机号
        public string ow_source { get; set; }//货主单位

        public string ow_address { get; set; }//联系地址

        public DateTime ow_validity { get; set; }//驾驶证有效期

        public string ow_photo { get; set; }//驾驶证照片
        public string ow_photo_allurl => "https://localhost:44361/" + ow_photo;//驾驶证照片

        public string ow_remark { get; set; } //备注

        public DateTime ow_createtime { get; set; }  //创建时间

    }
}
